package adapter.object;

import adapter.AddressValidator;
import adapter.CAAddress;

public class CAAddressAdapter implements AddressValidator {

	private CAAddress caAddress = new CAAddress();

	/*
	 * (non-Javadoc)
	 * 
	 * @see roy.study.adapter.AddressValidator#isValidAddress(java.lang.String,
	 * java.lang.String, java.lang.String)
	 */
	@Override
	public boolean isValidAddress(String address, String zip, String state) {
		return caAddress.isValidCanadianAddr(address, zip, state);
	}

	public CAAddressAdapter() {
	}

}
